export default {
    SET_USERNAME(state, user_name) {
        state.user_name = user_name;
    },
    SET_ROLE(state, role) {
        state.role = role;
    },
    SET_NEWROUER(state, routes) {
        state.newRouters = routes;
    }
}